Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

fix: process flakes#1171

Merged
joseph-sentry merged 1 commit intomainfrom
joseph/fix-proc-flake
Mar 24, 2025
Merged

fix: process flakes#1171
joseph-sentry merged 1 commit intomainfrom
joseph/fix-proc-flake

Conversation

@joseph-sentry
Copy link
Copy Markdown
Contributor

we recently turned autocommit back on by default, but in the case of the process flakes task we explicitly want it on.

@joseph-sentry joseph-sentry requested a review from a team March 24, 2025 14:22
@seer-by-sentry
Copy link
Copy Markdown
Contributor

✅ Sentry found no issues in your recent changes ✅

rollups_to_update: list[DailyTestRollup] = []

flaky_tests = list(curr_flakes.keys())
with django_transaction.atomic():
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of indenting all of this code, how about moving the transaction to the caller (along with the trailing log and return statement)

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.72%. Comparing base (725a8d1) to head (7c1e4c1).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1171   +/-   ##
=======================================
  Coverage   97.72%   97.72%           
=======================================
  Files         449      449           
  Lines       36864    36866    +2     
=======================================
+ Hits        36026    36028    +2     
  Misses        838      838           
Flag Coverage Δ
integration 42.89% <20.00%> (+<0.01%) ⬆️
unit 90.42% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov-notifications
Copy link
Copy Markdown

codecov-notifications Bot commented Mar 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

we recently turned autocommit back on by default, but in the case
of the process flakes task we explicitly want it on.
@joseph-sentry joseph-sentry force-pushed the joseph/fix-proc-flake branch from d3a2181 to 7c1e4c1 Compare March 24, 2025 14:34
@joseph-sentry joseph-sentry added this pull request to the merge queue Mar 24, 2025
Merged via the queue into main with commit c9ed88b Mar 24, 2025
28 of 29 checks passed
@joseph-sentry joseph-sentry deleted the joseph/fix-proc-flake branch March 24, 2025 14:55
@sentry
Copy link
Copy Markdown

sentry Bot commented Mar 25, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ OperationalError: (psycopg2.OperationalError) server closed the connection unexpectedly app.tasks.flakes.ProcessFlakesTask View Issue

Did you find this useful? React with a 👍 or 👎

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants